package com.comprehensive.personalnotes.service;

import com.comprehensive.common.dto.FolderFlieInfo;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface NotesService {
    ResponseEntity<List<FolderFlieInfo>> listFiles(@RequestParam("directoryPath") String directoryPath);
    ResponseEntity<String> getMarkdownContent(@RequestParam String filePath);
    ResponseEntity<Void> saveMarkdownContent(@RequestParam String filePath, @RequestParam String content);
}
